import Layout from '@/layout'

const chart =  {
    path: "/chart",
    component: Layout,
    redirect: "/order",
    name: 'order',
    meta: {
      title: '统计分析',
      icon: 'chart'
    },
    children: [
      {
        path: '/chart/order',
        component: () => import('@/views/chart/order'),
        name: '订单统计',
        meta: { title: '订单统计',icon: 'orderCount' }
      },
      {
        path: '/chart/payment',
        component: () => import('@/views/chart/payment'),
        name: '充值统计',
        meta: { title: '充值统计', icon: 'paymentCount' }
      },
      {
        path: '/chart/paymentColumn',
        component: () => import('@/views/chart/paymentColumn'),
        name: '柱状图',
        meta: { title: '柱状图统计', icon: 'paymentCount' }
      }
      
    ]
  }

  export default chart
